import { request } from '@/utils'

type sas = {
  mobile?: string;
  code?: string;
}
 export const loginApI=(formData:sas)=>{
  return request({
    url:'/authorizations',
    method:'POST',
    data:formData
  })
 }
 //获取用户信息
 export const getPrfliileAPI=()=>{
  return request({
    url:'/user/profile',
    method:'GET',
   
  })
 }